{if isset($tp)}
		</div>
		<div style="border-top: 1px solid #d1cdb7; background-color: #ede7df;">
			<div style="padding: 8px 15px;height:20px">
				<div class="button_little" style="float:right"><a href="/search/"><span class="as"></span><span class="ss"><img width="10" height="10" style="margin: 0pt 5px 0pt -5px; position: relative;" src="/images/plus.gif"> Добавить запись</span><span class="sa"></span></a></div>
				<a href="#" class="f12">Все заметки</a> (30)
			</div>
			<div class="lbw f0">&nbsp;</div>
			<div class="rbw f0 mb4">&nbsp;</div>
		</div>
	</div>
{else}
	</div>
	<div style="border-top: 1px solid #d1cdb7; background-color: #e9e4cc;">
				<div style="padding: 8px 15px;height:20px">
					<div class="button_little com_right_button" style="float:right"><a href="#" onclick="Consultant.addComment({$consultant.id});return false"><span class="as"></span><span class="ss"><img width="10" height="10" style="margin: 0pt 5px 0pt -5px; position: relative;" src="/images/plus.gif"> Добавить отзыв</span><span class="sa"></span></a></div>
					{if $mode=="default"}<a href="/consultant/index/id/{$consultant.id}/mode/reviews">Все отзывы</a> ({$reviews_count}){/if}
				</div>
				<div class="lbw f0">&nbsp;</div>
				<div class="rbw f0 mb4">&nbsp;</div>
			</div>
	{*	<div class="block_footer block_flex f0">
			<div class="block_footer_right f0">&nbsp;</div>
			<div class="block_footer_left f0">&nbsp;</div>
			<div class="block_footer_center f0">&nbsp;</div>
		</div>*}
	</div>
{/if}